Sudo /opt/local/apache2/bin/apachectl start I guess that means apache is not running, so I tried: Last entries in the access.log are at 14:xx on Sunday (i.e. Apache/2.2.27 (Unix) mod_ssl/2.2.27 OpenSSL/1.0.1i DAV/2 PHP/5.3.28 configured - resuming normal operations pid file /opt/local/apache2/logs/httpd.pid overwritten - Unclean shutdown of previous Apache run? Digest: generating secret for digest authentication. These are the last entries in the error log: Nothing has been logged since I updated ports/uninstalled mythweb on Sunday. The only error I am aware of is Safari saying "safari can't connect to the server".Ĭheck the Apache logs at '/opt/local/apache2/logs' to see if they give us any clues. Please copy/paste the exact error message. Mythbackend has been working fine throughout, recording scheduled programs and playing back recordings. The machine you're running MythWeb on has a working mythbackend (0.27) and the MySQL database, right? If you want to continue this on the -dev or -users mailing lists, that's fine with me. I know MythWeb is reported to work with both nginx and lighthttpd but, as above, the package is going away.
And update MythWeb.-web metaport instead keep an eye on #45008 for that. If these steps work out correctly for you, I'll update the wiki page and point others to that. Sudo cp -np /opt/local/etc/php5/php.ini /opt/local/etc/php54/php.ini We'll cheat and reuse the config file created for php5 LoadModule php5_module modules/libphp5.soģ) Set up your PHP 5.4 configuration files If you find a line like the following, delete it or comment it out: LoadModule php5_module modules/mod_php54.so
You should find the following line already added by the command in step 1) above. In '/opt/local/apache2/conf/nf' verify that mod_php54.so module will be loaded. Sudo /opt/local/apache2/bin/apxs -a -e -n "php5" mod_php54.so Could you please try the following steps and let me know if there are any problems: However, certain aspects of the configuration and setup need to be changed or re-done to match. Tar -xvf ~/Downloads/phpMyAdmin-4.7., I pushed a commit ( r125712) that should update mythweb.27 to use PHP 5.4. You can use MySQL through command line but this is a good way to administer MySQL. You can either change permissions like this: chmod 755 directory/ or you can change the ownership of the directory to the apache user and group: chown -R _www:_www directory 5. The Apache user( _www) needs to have access to read, and sometimes write, your web directory. You may recieve 403 forbidden when you visit your local site. Now we need to ensure PHP and MySQL: cd /varĪll your sites would have URLs like pointing to /Library/WebServer/Documents/some-site. Type '\c' to clear the current input statement. Other names may be trademarks of their respective Oracle is a registered trademark of Oracle Corporation and/or itsĪffiliates. Commands end with or \g.Ĭopyright (c) 2000, 2017, Oracle and/or its affiliates.
Enter password and then something like this appear: Welcome to the MySQL monitor. It will ask you write the password you set for mysql before.
Through the conclusion of just this article, you should have been able to install the MySQL domain controller onto your Mac enabling local production.
Now configure MySQL : mysql_secure_installation How to install MySQL Mac Although Mac OS somehow doesnt include something like a pre-configured version of MySQL, these step-by-step instructions would make the whole thing simple for everyone. Now start MySQL: brew services start mysql Install brew services now: brew tap homebrew/services Now Restart apache: sudo apachectl restart 3.
Now uncomment the following line (Remove #): LoadModule php5_module libexec/apache2/libphp5.so Now edit the nf with vi or any other text editor: vi nf This will help you to cross check later what you changed or in case you want to restore the configuration to default. Let's make a backup of the default Apache configuration. Open your browser and access If it says It Works, then you are set otherwise see if your apachectl has started or not. Open Terminal and run the following Code: sudo apachectl start