OS2World OLD-STATIC-BACKUP Forum

OS/2 - Technical => Web applications => Topic started by: RobertM on 2007.12.19, 01:58:44

Title: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: RobertM on 2007.12.19, 01:58:44
Hey all,

I've installed the most recent version of AMPOS/2 (Apache, MySQL, PHP, etc).

Apache runs fine as long as modphp.dll is REM'd out in the config file. Otherwise, Apache crashes and generates this in the POPUPLOG.OS2 (yes, same error twice):

------------------------------------------------------------

12-18-2007  18:53:39  SYS2070  PID 0086  TID 0001  Slot 00dc
R:\APPS\APACHE2\BIN\HTTPD.EXE
BZ2->PHP5.__safe_erealloc
127
------------------------------------------------------------

12-18-2007  18:53:39  SYS2070  PID 0086  TID 0001  Slot 00dc
R:\APPS\APACHE2\BIN\HTTPD.EXE
BZ2->PHP5.__safe_erealloc
127

The line (when un-commented) that causes it (from the config file) is:

#LoadModule php5_module modules/modphp5.dll

Any thoughts? All required DLLs are loaded and installed, I've also manually checked the PATH, LIBPATH statements in the config.sys file. Out of ideas...

Thanks,
Robert
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: Paul Smedley on 2007.12.19, 10:07:19
Hi Robert,

Quote from: RobertM on 2007.12.19, 01:58:44
Apache runs fine as long as modphp.dll is REM'd out in the config file. Otherwise, Apache crashes and generates this in the POPUPLOG.OS2 (yes, same error twice):

------------------------------------------------------------

12-18-2007  18:53:39  SYS2070  PID 0086  TID 0001  Slot 00dc
R:\APPS\APACHE2\BIN\HTTPD.EXE
BZ2->PHP5.__safe_erealloc
127

An old copy of php5.dll is being loaded - check for duplicate copies of the dll.

Cheers,

Paul.
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: RobertM on 2007.12.19, 19:51:34
Hi Paul,

Thanks for the quick response. I thought about that, and checked. Funnily enough, I didnt check Drive R (checked every drive BUT R:) because I hadn't been using that for anything but swap space and large file storage (JFS). So, in checking again, I found an older copy on Drive R (perhaps from installing TOR/2)...

...and of course, that was exactly the problem! Sorry about that, and thanks again! Up and running!

-Robert
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: bouchard on 2009.09.17, 20:09:21
I am new on this forum. I use OS/2 since its very begining. But few week ago I lost my computer and all backup in a fire. Everything is set back now except that Apache, mysql and php5. Some one put a simple way to install these software but this file gone in fire.  I would apreciate greatly if someone can find this file for me. The file say step by step what to do to make apache, php5 and mysql working.
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: sXwamp on 2009.09.17, 20:22:03
Quote from: bouchard on 2009.09.17, 20:09:21
I am new on this forum. I use OS/2 since its very begining. But few week ago I lost my computer and all backup in a fire. Everything is set back now except that Apache, mysql and php5. Some one put a simple way to install these software but this file gone in fire.  I would apreciate greatly if someone can find this file for me. The file say step by step what to do to make apache, php5 and mysql working.


Here is the web site for AMPOS2 that contains everything you need.  I think the most recent package gave me some problems, but I can't remember exactly which one it was.

http://www.amp4ecs.de/index.php?id=87&L=1


Greggory
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: bouchard on 2009.09.22, 21:43:28
In fact I have all the necessary software. What I am looking for, is a document posted a year or so ago explaining step by step how to configure  httpd.conf, my.cnf, ...etc.

Note: There exist many eComStation users like me who doesn't have high skill level software  and many great software are almost useless just because we canot configure them
Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: sXwamp on 2009.09.22, 21:55:19
Quote from: bouchard on 2009.09.22, 21:43:28
In fact I have all the necessary software. What I am looking for, is a document posted a year or so ago explaining step by step how to configure  httpd.conf, my.cnf, ...etc.

Note: There exist many eComStation users like me who doesn't have high skill level software  and many great software are almost useless just because we canot configure them


Here is a step by step guide:

http://os4you.org/typo3goesos2en.html

But the AMPOS2 package does the same thing and you don't have to worry about configurations.


Title: Re: AMPOS2 Install - Unable to load PHP Module... (Apache/MySQL/PHP)
Post by: RobertM on 2009.09.22, 22:57:55
Quote from: bouchard on 2009.09.22, 21:43:28
In fact I have all the necessary software. What I am looking for, is a document posted a year or so ago explaining step by step how to configure  httpd.conf, my.cnf, ...etc.

Note: There exist many eComStation users like me who doesn't have high skill level software  and many great software are almost useless just because we canot configure them

Bouchard, I used the config files that came with either the AMPOS/2 build or Paul's, and didnt have to do anything for Typo3, WordPress, or Joomla (and two others I tried, who's names escape me at the moment).

I *think* I originally installed AMPOS/2 and then used the config and ini files from Paul's builds when I updated the original components...