php.ini config?
Posted by: PtotheJ13 (---.dsl.rcsntx.swbell.net)
Date: July 10, 2010 12:43AM

I will try to keep this short and to the point.

I have had WAMP2.0i installed before and worked perfectly. Now I have reformatted my computer etc. and wanted to set up the same version again. I installed 2.0i then I downloaded an older version of PHP5.2.11
I have setup PHPmyAdmin properly and tried to run the last development of a site I was working on.

Either the php runs and displays the html markup (if I run as index.php)
Or if I run it as html the markup is correct but none of the php displays (if I run as index.html)
I'm pretty sure I need to modify the php.ini file...but I'm not sure exactly how. If it is something else or someone can redirect me please let me know.

I'm not really a developer (though I like to try) so please be patient with me.


Apache2.2.11 | PHP 5.2.11 | MySQL 5.1.36 | OS: WinVista32

Re: php.ini config?
Posted by: toumimi (---.154.39-62.rev.gaoland.net)
Date: July 10, 2010 12:59AM

Hi,

Do you use localhost in url ? (not file system c:\...)

Make sure you are not using php short tags... (not recommended for portability).
Else, you need to activate "short open tag" in wamp menu > PHP > PHP settings.

Florian

WampServer Patch (Screenshots)
Topic EN : www.wampserver.com
Topic FR : www.wampserver.com

Re: php.ini config?
Posted by: yfastud (Moderator)
Date: July 10, 2010 03:27AM


Re: php.ini config?
Posted by: PtotheJ13 (---.dsl.rcsntx.swbell.net)
Date: July 10, 2010 10:28AM

Yes sir evidently I was opening the files with file system...not through the localhost. Embarassing.

Thanks for the help.

Sorry, only registered users may post in this forum.