| | |
Help with PHP, not working on page
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
Thread Solved |
•
•
Join Date: Oct 2006
Posts: 164
Reputation:
Solved Threads: 3
Hey everyone. I've been trying to install my own webserver on my computer along with PHP and MySQL. I thought I installed everything correctly but I just uploaded my first script and NONE of the PHP seems to be working. I'm running apache v2.0.x, the latest version of MySQL and the lastest version of PHP. I'm running on windows XP. I included a SS of what I see below. If anyone has advice for me, it would be much apprecaited.
Thanks!
Thanks!
www.fijiwebdesign.com - web design and development and fun
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Cpanel Email - Let users Register email accounts on your website upon registration
Ajax Chat - Fully browser based chat!
Couple of things:
Does the page address you are loading end in .php?
Did you go into the config file for Apache and do the required modifications for PHP pages?
Have you tried other scripts to make sure it is not the script?? The most common script used to test your PHP installation is php info script like so:
Type or copy that code into notepad and save it as info.php in your web folder, than load it in a browser. It should show all the info about your PHP and Server
Does the page address you are loading end in .php?
Did you go into the config file for Apache and do the required modifications for PHP pages?
Have you tried other scripts to make sure it is not the script?? The most common script used to test your PHP installation is php info script like so:
PHP Syntax (Toggle Plain Text)
<?php phpinfo(); ?>
Type or copy that code into notepad and save it as info.php in your web folder, than load it in a browser. It should show all the info about your PHP and Server
Last edited by GliderPilot; Mar 19th, 2007 at 2:12 pm.
•
•
Join Date: Oct 2006
Posts: 164
Reputation:
Solved Threads: 3
Hey guys. Thanks for the responses. After a few days of messing around w/ it I finally got it. Apparently the php.ini file that comes w/ apache isnt the one your supposed to use with PHP5. There is another file called php.ini-def or something like that. I used that, made the proper modifications and it works perfect. Thanks again!
•
•
Join Date: Aug 2008
Posts: 2
Reputation:
Solved Threads: 0
Hi All,
I have a similar problem.
I have tested apache and php using the command prompt. Both are fine.
I am running apache 2.0.x with PHP 5.x on Windows XP.
When I write the code for displaying the phpinfo() in info.php file and try to view the page as using the url http://localhost/info.php it gives me error "page not available."
However if I write the same code in a .html file and view the page in a browser it shows me the server information.
Please help ?
I have a similar problem.
I have tested apache and php using the command prompt. Both are fine.
I am running apache 2.0.x with PHP 5.x on Windows XP.
When I write the code for displaying the phpinfo() in info.php file and try to view the page as using the url http://localhost/info.php it gives me error "page not available."
However if I write the same code in a .html file and view the page in a browser it shows me the server information.
Please help ?
![]() |
Similar Threads
- page not redirecting - redirect2page('members.php'); (PHP)
- New to php and getting frustrated (HTML and CSS)
- New to php and getting frustrated (PHP)
- Creating the download page in PHP (PHP)
- updating 2 HTML tables on one PHP page (PHP)
- page.php?page=1,2,3,4,..inf. (PHP)
Other Threads in the PHP Forum
- Previous Thread: complicated dropdown boxes
- Next Thread: .php does not run as a script
| Thread Tools | Search this Thread |
ajax apache api array basics beginner binary bounce broken cakephp checkbox class cms code codingproblem combobox cron curl database date display dynamic echo email error file files folder form forms function functions google href htaccess html image include insert integration interactive ip java javascript joomla js limit link login mail menu mlm mobile multiple mysql nodes oop outofmemmory paging parse paypal pdf php problem procedure query radio ram random recursion regex remote return script search server sessions smash sms soap source space sql syntax system table tutorial up-to-date update upload url validation validator variable video web webapplications websitecontactform xml youtube






