my php.ini file
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
I really do understand that I need to change the directory of my session.save_path, but the problem is when I open my php.ini file (which came with my php program, should this be the only one I have?? I tried opening phpinfo.php to see where it thinks my file is, but that doesn't work period), the only thing in it is: ; php.ini for PEAR tests How can I change a line that doesn't even exist? I'm extremely confused. |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
musicobsession, session.save_path IS set to /tmp on a new install of PHP. Dig deeper. |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
that.... didn't help me at all. What I'm asking is, is this session.save_path supposed to be IN the php.ini file? Because I showed you what is in mine and I don't undersatnd how I can change /tmp to /temp if it's not even there to CHANGE. Plus, when I search for that file (php.ini) it doesn't even show up to show me what folder it's in... I can only see it when I extract the php-4.3.2.tar.gz file... What am I not understanding here?? |
|
alindeman
![]()
Joined: 2002-10-06
Posts: 8194 |
![]() |
setup/phpinfo.php (when Gallery is in config mode) will tell you where php.ini is. |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
I can't configure it... cause the configure.bat opens a black box then immediately closes it... and the configuration wizard won't help either, because it says those pages don't exist if I put them on my page then type in the URL to look at them... or even if I open it on my harddrive, they don't even open... Is this always this difficult?! |
|
alindeman
![]()
Joined: 2002-10-06
Posts: 8194 |
![]() |
URL? |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
it says this in the config wizard: RUN THE CONFIGURATION WIZARD by typing http://www.example.com/gallery/setup/index.php in your browser window soooo i thought example.com was my webpage? Either way, it doesn't work if I do the c:\blaalhablah either... |
|
alindeman
![]()
Joined: 2002-10-06
Posts: 8194 |
![]() |
OK, example.com is just that, an *example*... Substitute your real site URL there. You also cannot access it as a filesystem path (i.e. c:\...) because it must be processed through Apache and the PHP engine. |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
so, yeah, I put it on my site, and it gives me that action canceled file not found BS.... what all do I need to upload and into what directories (would all this stuff go into my perl directory or the html?)? I don't understand why it's not working from my site (and it allows all that.... i use doteasy.com's ultra hosting if that helps you any) |
|
alindeman
![]()
Joined: 2002-10-06
Posts: 8194 |
![]() |
OK, what is the real URL to where you think Gallery is? |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
gallery is here: http://www.allaboutthemusic.net/gallery/index.php but if you click configuration wizard, it gives you the 500 error... which i don't understand because i've changed everything in httpd.conf to Options FileInfo instead of None, etc... and I've deleted the .htaccess file... there's no config.php in my setup to chmod 666... |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
musicobsession, you are supposed to create config.php and a .htaccess file in your gallery/ dir. Read the docs at http://gallery.sf.net/docs.php Oh, and by the way, from your php_info page Quote:
session.save_path /tmp /tmp it IS there. |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
yeah... somehow I got past all that (i found out in a thread here i had to create it, and there was a helpful link in there)... now I'm stuck on it saying NetPBM isn't actually there.. and i DID do the thing in the FAQ so I know it's the right dir... the only files I have in there are the ones the config thing suggested at http://sourceforge.net/projects/gallery do I really need more? cause it's not working (and saying I dont have a png->jpeg converter either.... and, no, none of this worked with all of imagemagick installed either. grah. |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
musicobsession, those should be the correct binaries. Are the chmods ok? Are you sure you have used the correct ones for your system? Also, png->jpeg converter, you can select the one you have in a dropdown on page 2 of the config. |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
i've tried both of the converters and neither works... i don't appear to have EITHER... how the hell? that doesnt make sense.... i chmoded at 755 on the dir and the files... what other thing would i do -- how do i know? |
|
h0bbel
![]()
Joined: 2002-07-28
Posts: 13451 |
![]() |
musicobsession, what is the contents of your Netpbm dir? Could this be FAQ Gallery:c.25 ? |
|
musicobsession
Joined: 2004-04-11
Posts: 18 |
![]() |
i did that... and it still gives me these errors: Error: I can't find NetPBM at the location you provided. Gallery prefers NetPBM version 9.9 and up. You can install just the binaries Gallery needs from the Gallery Download Page. Or, you can compile and install the entire NetPBM package from the NetPBM website. Note: You can install the binaries from the Gallery site even if you don't have root access on your box! If you can't get it working, try leaving the NetPBM path blank and using ImageMagick instead. Error: Could not find /var/www/html/gallery/NetPBM/pnmtojpeg. Check your NetPBM directory to see which PNG->JPEG converter you have (or just try using ppmtojpeg instead). Please check your configuration (or use ImageMagick). the second error still occurs for ppmtojpeg if i switch it... i dont understand why this won't work. |
|
vijaymodi_81
Joined: 2007-09-06
Posts: 1 |
![]() |
Hi Friends, Do you want to know what is the use of particular php.ini files variables. Kindly visit on the following link. http://vijaymodi.wordpress.com/2007/03/03/phpini-settings/ Regards, |
|