homepage Welcome to WebmasterWorld Guest from 54.166.148.189
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Visit PubCon.com
Home / Forums Index / WebmasterWorld / New To Web Development
Forum Library, Charter, Moderators: brotherhood of lan & mack

New To Web Development Forum

    
Modifying the php.ini file?
madcat




msg:974104
 2:20 am on Jul 20, 2002 (gmt 0)

How can I make .html files parse .php/.ini file includes and also make .php files parse .ini files securely?

I can't seem to find a clue within the documentation about the .html files parsing .php. I did find that I can change the include_path in php.ini -- it just doesn't seem to be working though.

Any suggestions would be great, thanks.
M

 

SmallTime




msg:974105
 3:02 am on Jul 20, 2002 (gmt 0)

Apache has to be told to parse html files as php, in the config file, or using htaccess.

madcat




msg:974106
 2:19 pm on Jul 20, 2002 (gmt 0)

I'm running on Windows, isn't .htaccess only for unix - I thought?

Thanks,
M

ergophobe




msg:974107
 5:37 am on Jul 23, 2002 (gmt 0)

.htaccess if for Apache regardless of where it runs (and some other servers too).

If you are running your own server and have access to the httpd.conf file, then you can set the .htaccess file to any filename you want. In Windows, since it doesn't like filenames with nothing before the period (like .htaccess), you may wish to change this to ht.access, since it will give you fewer troubles. Then you change your httpd.conf file to have it parse files of whatever extension as php files. The PHP installation instructions have exact details.

Tom

madcat




msg:974108
 1:28 am on Jul 26, 2002 (gmt 0)

One more on the php.ini front...

I'm having trouble getting GD to work. When I take a test PHP script to create an image, I load it up in a browser and get one of those image boxes- you know with a border and it just says "image". That makes me think that I'm close to getting it though.

I have uncommented the php.ini file for the php_gd.dll, moved the php_gd.dll to the Apache folder restarted the server and oh yeah, changed the:
extension_dir = C:/FoxServ/php/extensions
in php.ini.

I can't seem to find my way here. Any help?

Most appreciated.
Matt

toadhall




msg:974109
 5:44 am on Jul 26, 2002 (gmt 0)

Have you installed the gd library?

www.boutell.com/gd/

I can't help you with installation, etc. as I've never taken the step, but there are good resources around.

madcat




msg:974110
 5:46 pm on Jul 26, 2002 (gmt 0)

I think that it installed with the program. I'll have to check it.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / New To Web Development
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved