| View previous topic :: View next topic |
| Author |
Message |
doobo
Joined: 31 Dec 2005 Posts: 2
|
Posted: Sat Dec 31, 2005 12:34 pm Post subject: installation problem |
|
|
Hi,
I am quite new to php-gtk. I have been trying to install gnobe but I get many
"unable to load dynamic library" messages even the dll files in the correct locations.
I am using WinXP pro, Apache 2.0.53 and PHP 5.0.4. My php.ini is in the windows directory and permissions are set correctly. I am logged in as admin to my own laptop (I do get a warning message that I moght login as admin)
Any help would be appreciated...
doobo |
|
| Back to top |
|
 |
puzzler Site Admin
Joined: 14 Nov 2005 Posts: 39 Location: Germany
|
Posted: Sat Dec 31, 2005 1:24 pm Post subject: loaded PHP could prevent installation... |
|
|
hi doobo,
i am not sure, why the installation fails, but my first guess would be, that installing the PHP 5.1 over your 5.0.4 causes DLL problems, because most of the DLLs are loaded (by your running apache) already and can not be overwritten.
I suspect a versions fight between 5.0 and 5.1, which comes with gnope.
cheers,
puzzler |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Sat Dec 31, 2005 7:03 pm Post subject: Re: installation problem |
|
|
| doobo wrote: | | My php.ini is in the windows directory and permissions are set correctly. |
Gnope installs its own PHP, and doesn't use that one that is already installed with your apache. The php.ini used is that one in the path where php.exe is located, not the one in the system dir.
It's the question *which* php you're starting - the gnope one or the apache one? Try to rename the php.exe of your apache installation to php2.exe or so, and try again to execute "php". |
|
| Back to top |
|
 |
doobo
Joined: 31 Dec 2005 Posts: 2
|
Posted: Sun Jan 01, 2006 4:31 pm Post subject: |
|
|
Hi,
Thanks alot for the advice.
After changing the names of php.exe and php-win.exe under apache directory to something else my problem was still there. I was about to post a message with error statements but something else has popped up. My php.ini sits in Windows directory. I did a last shot by changing the name of php.ini (because I realized that installation is trying to find extention files still under apache..) and bingo...
But still life is not so easy. I got a warning at the end of the installation saying "It seems that you don't have write access to the windows directory. Please uninstall and re-install with Administrator rights." As far as I know I am admin of my laptop as stated at my first post....??? Or is it related to changing the php.ini file name to something else?
Second thing is, what if I rename all the files back to original? Will everything work properly?
Thanks in advance..
doobo |
|
| Back to top |
|
 |
cweiske
Joined: 08 Dec 2005 Posts: 454 Location: Leipzig/Germany
|
Posted: Mon Jan 02, 2006 2:34 pm Post subject: |
|
|
| doobo wrote: | | I did a last shot by changing the name of php.ini (because I realized that installation is trying to find extention files still under apache..) and bingo... |
Just move the php.ini which was located in the win dir to the apache installation directory so that *no* php.ini is in the windows dir. That prevents interference between the two installations.
| Quote: | | Please uninstall and re-install with Administrator rights." As far as I know I am admin of my laptop as stated at my first post....??? Or is it related to changing the php.ini file name to something else? |
The installer tries to put a PEAR file into the windows directory. If that fails, you won't be able to use the pear installation at all. Now I never tested it with another pear/apache+php installation before, but as long as the file (pearsys or so) is created, all is ok. |
|
| Back to top |
|
 |
Slowchaos
Joined: 11 Jun 2008 Posts: 6
|
Posted: Fri Jun 13, 2008 3:26 pm Post subject: Don't move anything, just change command line |
|
|
| cweiske wrote: | | doobo wrote: | | My php.ini is in the windows directory and permissions are set correctly. |
Gnope installs its own PHP, and doesn't use that one that is already installed with your apache. The php.ini used is that one in the path where php.exe is located, not the one in the system dir.
It's the question *which* php you're starting - the gnope one or the apache one? Try to rename the php.exe of your apache installation to php2.exe or so, and try again to execute "php". |
I'm running WinXP Pro. PHP does not look for the ini file in the installed directory if you have other installations. I have php5 set up on Apache 2.2 using the zend core and when I tried to run PHP-GTK I received serveral PHP errors for wrong library versions. I finally found that PHP was looking at the registry for information on which ini file to use. I fixed this by adding '-c mydrive\program files\PHP-GTK' to the shortcut command line. This took care of the startup errors - but I am still missing the GNOPE folder with its apprunner program. |
|
| Back to top |
|
 |
Slowchaos
Joined: 11 Jun 2008 Posts: 6
|
Posted: Mon Jun 30, 2008 9:33 pm Post subject: More info from newbie....only tech support that is available |
|
|
I'm still working on these issues myself but here is a little more info. If you already have an installation on windows - such as apahce and Zend core - and you try to install the gnope download it may not work. Numerous "pop & go" errors in CLI windows are too fast and too lacking in informative help to show the problem.
If you are missing your gnope folder after the install then it is quite likely that you have a windows registry setting that php is reading to find it's ini file. During the install serveral folders fail to be created due to this issue. If you rename the registry key "IniFilePath" found in "My Computer\HKEY_LOCAL_MACHINE\SOFTWARE\PHP\" to something else during the install then gnope will install properly. You will still have the issue mentioned above with having to add the command line switch "-c path to ini" to get programs to run correctly. |
|
| Back to top |
|
 |
|