Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

Apache & PHP Installation Help!

Asked Modified Viewed 5,709 times
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
asked
Member

FedoraCore5 Apache2 PHP5

So I've been playing around with Apache and managed to get it working but as soon as i added to httpd.conf:

Quote

AddType application/x-httpd-php
LoadModule php5_module modules/libphp5.so


I cannot restart apache getting this error:

Quote

Syntax error on line 311 of /www/conf/httpd.conf:
Cannot load /www/modules/libphp5.so into server: /www/modules/libphp5.so: cannot open shared object file: No such file or directory


Please Help!!!
0 replies

24 posts

R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Anyone got any ideas?
0 replies
D
donmcg
D
donmcg 10
  • Member, joined since
  • Contributed 54 posts on the community forums.
answered
Member

Im not familiar with the fedoracore5 package, but with most most apache setups you dont need to load any modules, just set up the correct directories, permissions and database and run the setup.php. The fusiion functions get called as needed and defined from their own pages.
Cheers
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Sorry if I may have misslead you but I am not talking about PHPFusion. It's PHP itself.

I realise this may have not been the best place to post but it saves me registering on another site.

I have got Apache working ok until i add the lines to httpd.conf to load PHP and i get the error when i next start Apache.
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

add to httpd.conf 2 lines(bold):
...
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php
AddType applikation/x-httpd-php-source .phps

...
it change will be visible after:
apachectl restart
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Ok so i added:
AddType applikation/x-httpd-php-source .phps

but still each time i load a .php page it asks if i want to download the file.

what about:
LoadModule php5_module modules/libphp5.so

doesn't that need to be there somewhere?

whenever i add that line apache refuses to restart giving the error mentioned above.
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

# LoadModule foo_module modules/mod_foo.so
#
LoadModule authn_file_module libexec/apache22/mod_authn_file.so
.....
LoadModule userdir_module libexec/apache22/mod_userdir.so
LoadModule alias_module libexec/apache22/mod_alias.so
LoadModule rewrite_module libexec/apache22/mod_rewrite.so
LoadModule php5_module libexec/apache22/libphp5.so
....
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

Nope that didn't work either. Same error. I spose what i need to do is find the location of the libphp5.so file then use that.
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

My server is Unix, Your is linux:
alter registration path php5.so similarly to previous your registrations so
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

My httpd.conf file does not have any other LoadModule lines in it at all.
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

I'm doing a search for libphp5.so in the File Browser but it's taking forever.
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

You installed in version php cgi probably and it modules.
Installation php should automatically add registration libphp.so to httpd.conf.
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

guess that means i installed it wrong then.

anyway i can fix it?
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

Send to me your first apace2 httpd.conf
ftp: zdzplock.europa.pl
user: roborat
password: roborat
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

ok it should be there
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member


Registrations all modules APACHE SO were created in time of installation automatically.
Did you install from RPM APACHE FEDORA?
Have a look on my present httpd.conf (Your account ftp in my server)
I added only earlier described bold by hand.
0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

no i compiled it manually
0 replies
B
bsmuk31
B
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums
answered
Newbie

0 replies
R
robo_rat
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
answered
Member

I think i've missed a step somewhere so i might start from scratch and follow these instructions
0 replies
W
wlodekp
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
answered
Member

To unpack the file of source, configure file src / configure.tmpl by hand or defoult ./ configure(cofigure -help).
Actuation promissory note configure will generate file makefile. Compilation and installation make install.
0 replies

Category Forum

General Discussion

Labels

None yet

Statistics

  • Views 0 views
  • Posts 24 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

D
D
donmcg 10
  • Member, joined since
  • Contributed 54 posts on the community forums.
W
W
  • Member, joined since
  • Contributed 54 posts on the community forums.
  • Started 3 threads in the forums
R
R
Robo Rat
"When the going gets tough, the tough hide under the table"
www.valley-venturers.wellington.net.nz
  • Member, joined since
  • Contributed 58 posts on the community forums.
  • Started 7 threads in the forums
  • Started this discussions
B
B
  • Newbie, joined since
  • Contributed 2 posts on the community forums.
  • Started 1 thread in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet