Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th April 2012, 10:22
shenron shenron is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
Default Problem installaion PHP with Nginx in opensuse

Hi,

I've some difficulty with PHP and Nginx installation. I followed this tutorial.
I've probleme with systemctl configuration. I know what I must put for: /etc/systemd/system/default.target.wants/nginx.service

Code:
[Unit]
Description=Nginx HTTP daemon
Requires=network.target syslog.target
After=syslog.target networking.target

[Service]
Type=forking
PIDFile=/var/run/nginx.pid
ExecStartPre=/bin/echo 'Starting httpd (Nginx)'
ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf
StandardOutput=syslog
StandardError=syslog
ExecStop=/usr/sbin/nginx -s quit

[Install]
#WantedBy=multi-user.target
WantedBy=graphical.target
But I don't know what I must put for php-fpm.service and mysql.service.

Thank you for youre help.
Reply With Quote
Sponsored Links
  #2  
Old 14th April 2012, 12:00
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,735 Times in 2,571 Posts
Default

You don't hve to touch these scripts.

systemctl start php-fpm.service and systemctl start nginx.service work out of the box.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
shenron (21st April 2012)
  #3  
Old 21st April 2012, 12:33
shenron shenron is offline
Junior Member
 
Join Date: Apr 2012
Posts: 2
Thanks: 1
Thanked 0 Times in 0 Posts
 
Default

It's correct i've a redireciton of the service:
Code:
redirecting to systemctl
Thank you
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
table lookup problem aurelius Installation/Configuration 5 2nd November 2011 19:12
Centos 6.0 support Acid_Scorpion Developers' Forum 47 16th September 2011 10:36
ISPConfig3 Debian Squeeze Crontab - Log petrichbg Installation/Configuration 5 22nd March 2011 12:25
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 21:13
Error when install ISPConfig 2 with components built from source X-admin Installation/Configuration 5 30th April 2010 13:22


All times are GMT +2. The time now is 13:57.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.