Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > BOOK: Beginning PHP 5.3
|
BOOK: Beginning PHP 5.3
This is the forum to discuss the Wrox book Beginning PHP 5.3 by Matt Doyle; ISBN: 978-0-470-41396-8
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning PHP 5.3 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 22nd, 2011, 08:46 AM
Authorized User
 
Join Date: Feb 2011
Posts: 25
Thanks: 2
Thanked 1 Time in 1 Post
Default phpinfo() function problems

For some reason I can't get the page that runs the phpinfo() function up. I get an HTTP 404 Not found message brought up. Its in the www folder, the same folder as my testing.html, with this exact code written for it:

<?php
phpinfo();
?>

It doesn't want to come up. Any reasons why?
 
Old July 31st, 2011, 12:38 PM
Authorized User
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

404 Error means server can not find the script you enter in the browser URL. Double check your script name again.

Make sure you name your script ending in .php , not .html
 
Old August 2nd, 2011, 11:49 PM
Authorized User
 
Join Date: Jun 2011
Posts: 51
Thanks: 9
Thanked 0 Times in 0 Posts
Send a message via MSN to nawar youssef
Default help with phpinfo()

I had a problem with the same function so I thought it's good to ask here for a solution, my problem is that when I opened the ( testing.php ) it installed on my computer, instead of show as a webpage,
The book says that " PHP is not installed or Apache does not know about the PHP module."
- how can that happend and I installed the php, apache, and MySql together in MAMP.

plz need a solution quickly I wanna start learning.
thank you.
 
Old August 3rd, 2011, 05:14 PM
Authorized User
 
Join Date: Mar 2006
Posts: 18
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I suggest you ask on MAMP forum since it is the source of the problem.

http://forum.mamp.info/viewforum.php?f=6

Specific your OS version, MAMP version and screenshot if applicable. People are willing to help if everything is there for them to debug.
 
Old August 8th, 2011, 01:39 PM
Authorized User
 
Join Date: Jun 2011
Posts: 51
Thanks: 9
Thanked 0 Times in 0 Posts
Send a message via MSN to nawar youssef
Default thank you

thank you, I went to the MAMP forum, but really I got confused, and I got no answer or maybe they did not publish my post.
but I searched in youtube and I got my the point.
the problem was in the post so I changed the Apache and MySql ports form 8888 for both to the default Apache and MySql ports.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Sum function and XPath problems tslag XSLT 2 June 26th, 2006 10:23 AM
Problems with AJAX Function [email protected] Javascript 4 December 14th, 2005 12:29 AM
InStr Function - having problems mmcdonal VBScript 1 November 29th, 2004 02:50 PM
Problems using the MAX Function Trojan_uk SQL Server ASP 0 November 26th, 2003 11:21 AM
Function Display Problems??? webasp1 Classic ASP Databases 0 August 6th, 2003 03:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.