/    Sign up×
Community /Pin to ProfileBookmark

Obtaining and installing PHP 5

? [B]Hello Everyone[/B] Recently installed the Apache server and downloaded PHP 5. The last exercise I did was to copy two files , php5ts.dll and limbmysql.dll to the c:windows directory.
The instruction book goes then on to sayModify your httpd.conf file as follows, load module php5_module “c:php.php5apache.dll ,then #add to the end of the addModule section. Pse forgive my ignorance, but dont understand any of this.
Anyone able to assist? I would be most grateful.

Cheers,
Ed Bakker
Oxford
New Zealand

to post a comment
PHP

6 Comments(s)

Copy linkTweet thisAlerts:
@rincewind456Dec 29.2005 — Firstly the Install instructions recommend you DO NOT put any files in the windows directory To make php4ts.dll / php5ts.dll available you have three options: copy

the file to the Windows system directory, copy the file to the web

server's directory, or add your PHP directory, C:php to the PATH. For

better maintenance, we advise you to follow the last option, add

C:php to the PATH, because it will be simpler to upgrade PHP in the

future.[/quote]


I would suggest you put them back where they were, and add the php directory to your path by following the instruction provided.

Then open the apache httpd.conf file (found in the ApacheApache2conf directory) and add LoadModule php5_module "c:/php/php5apache2.dll"

AddType application/x-httpd-php .php

# configure the path to php.ini ##Change to your php dir


PHPIniDir "C:/php"
[/quote]
to the end of this file (assuming you have installed php in c:php. If not change the path in the lines above to match your installation path).

Save and restart the apache server and you should be good to go.
Copy linkTweet thisAlerts:
@NogDogDec 29.2005 — Or, consider downloading XAMPP for Windows and let it do most of the work: http://www.apachefriends.org/en/xampp-windows.html
Copy linkTweet thisAlerts:
@EdBakkerauthorDec 29.2005 — 

Then open the apache httpd.conf file (found in the ApacheApache2conf directory) and add to the end of this file (assuming you have installed php in c:php. If not change the path in the lines above to match your installation path).

Save and restart the apache server and you should be good to go.[/QUOTE]

[B]Hi,[/B]

I followed the first part of your instructions. What tool do I use to open

the file httpd.conf? It's extention is ddl

[B]Cheers - Ed Bakker [/B]
Copy linkTweet thisAlerts:
@EdBakkerauthorDec 29.2005 — Or, consider downloading XAMPP for Windows and let it do most of the work: http://www.apachefriends.org/en/xampp-windows.html[/QUOTE]
[B]Hello,[/B]

Do appreciate your help, but might try to go with the previous advice in the meantime. If I was to follow your advice, would I need to reverse everthing I have done previousl? Sorry for my ignorance, but PHP and Apache are quite new to me, but am keen to learn.

[COLOR=Red]regards, Ed Bakker[/COLOR] ?
Copy linkTweet thisAlerts:
@rincewind456Dec 29.2005 — There are only 6 files in the conf diectory and none are dll files. ApacheApache2confmagic.default
ApacheApache2confhttpd.default.conf
ApacheApache2confmagic
ApacheApache2confhttpd.conf
ApacheApache2confmime.types
ApacheApache2confmime.types.default

httpd.conf can be opened with any text editor
Copy linkTweet thisAlerts:
@EdBakkerauthorDec 30.2005 — There are only 6 files in the conf diectory and none are dll files. ApacheApache2confmagic.default
ApacheApache2confhttpd.default.conf
ApacheApache2confmagic
ApacheApache2confhttpd.conf
ApacheApache2confmime.types
ApacheApache2confmime.types.default

httpd.conf can be opened with any text editor[/QUOTE]

Thanks again, but decided to go with the whole package.

Cheers

Ed Bakker ?
×

Success!

Help @EdBakker spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.24,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...