Tag Info

New answers tagged

0

Just open a terminal and type lightspeed I don't have it so the output is The program 'lightspeed' is currently not installed. You can install it by typing: sudo apt-get install lightspeed If it is installed and you want to know where dpkg --listfiles lightspeed Will show where all files for light speed can be found.


0

I faced this exact same problem through the day and am glad I solved it in the below manner. Although, the above reply is marked as an answer, it is clear from the comments to that answer that it doesn't completely answer the question. The correct file to enable is in /etc/php5/cli/conf.d Then enter the following in there zend_extension=opcache.so ...


8

Linux in general, so Ubuntu too, has directories where you can put scripts that start/stop/restart/reload a service (or whatever action this service can provide): /etc/init.d/ (=old but still used very often). /etc/init.d is where all the traditional sysvinit scripts and the backward compatible scripts for upstart live. The backward compatible scripts ...


1

Did you check the apache2 error log? There is a typo in your php code. You are missing the &. Correct is: // Report all errors except E_NOTICE error_reporting(E_ALL & ~E_NOTICE); I highly suggest for development systems to set display_errors = On display_startup_errors = On error_reporting = E_ALL in your php.ini as I mentioned in the ...


1

If you only want to debug locally, you can follow this approach presented at stackoverflow. Single line in php.ini, no additional packages. Writes your outgoing mail to a file which can be opened with mail client in case you want to debug html mail. sendmail_path = 'tee /tmp/mylocal.mail > /dev/null'


0

I don't quite understand your question. To run PHP code, you need a program that can understand understand PHP. This is either Zend Engine (the branch by Dmitry called PHPNG has been merged on v7.0), Websphere sMash, Phalanger, HipHop VM, HippyVM, Parrot, Quercus, or some other program. (Note: Every engine is saying that they are faster than every other ...


0

You might also want to look at setting up a VirtualBox environment for PHP development. This way you keep your host OS free from server packages but you can still do all development on your own PC with the shared folder functionality. :)


1

1. Installing and setting up the LAMP stack Open Terminal by hitting Ctrl+Alt+T Update the apt cache and install lamp-server^ by running sudo apt-get update && sudo apt-get install lamp-server^ (you should be able to go through the on-screen setup; it's just a matter of setting up the mysql root password) 2. Installing and setting up PHPMyAdmin ...


1

To install these packages in the command-line you can type sudo apt-get install lamp-server^ phpmyadmin There is also extensive documentation how to set up a LAMP environment with phpmyadmin at https://help.ubuntu.com/community/ApacheMySQLPHP | https://help.ubuntu.com/14.04/serverguide/lamp-applications.html Feel free to ask more specific questions if ...


0

Run those commands: sudo apt-get update Install apache: sudo apt-get install apache2 You can test apache2 is working by directing your browser to http://localhost , you should see "it works" output. Install PHP: sudo apt-get install php5 libapache2-mod-php5 Restart apache2 now: sudo service apache2 restart To test PHP now create a file ...


0

According to your logfile there are several things wrong. It is important to tackle them one by one. There are a lot of messages concerning AH01630, meaning the client has no access. This has usually to do with a difference between Apache 2.2 and 2.4. The directive of importance is Require: In 2.2 configuration you should have: Order allow,deny Allow from ...


0

Do you know if the services you installed are running, apache and MySQL need to be running for this to work. open a terminal and type: sudo service apache2 status sudo /etc/init.d/mysql status


1

Your private network is for example 192.168.0.XXX (or another range ) you connect your server (wifi or ethernet) to that network, and assign a static ip address (one that won't change when router or machine is rebooted ), like 192.168.0.151. you need to create a virtualhost for that ip listening on port 80, and/or if you want to use a domain name, you must ...


0

The easiest way to install LAMP is: sudo apt-get update sudo apt-get install tasksel sudo tasksel in the terminal you should now see the option to install lamp and ssh use the spacebar to select and install the necessary components you will be opted to configure a password for MySQL remember your password we will need it for the next part. 2)now that ...


0

perhaps you need to gather more information - if the above mentioned memtestx86+ doesn't reveal a memory problem - some other hint should be discoverable. we use kibana to gather logfiles onto a central server for further investigation: https://www.elastic.co/products/kibana that is posibly a way to find the problem...


0

I have some IT server administration experience, 64 gibs of RAM sounds like where your problem is coming from,that configuration leaves allot of possibility for hardware failure, from what you are describing it sounds like one of your memory sticks gets hot it fails and causing a system shutdown to protect damage, it is summer now, I would try a process of ...


1

This is so easy. Using it in Ubuntu 14.04 LTS and it's working without a hitch: Create a new file via terminal by running the command below gedit ~/.local/share/applications/lamp.desktop Copy and paste this text inside [Desktop Entry] Name=LAMP GenericName=LAMP X-GNOME-FullName=LAMP Comment=Open services of your LAMP server Exec=gksu service apache2 ...


0

I would recommend turning off acpi to rule out a false sensor or condition based shutdown if you disable acpi, then the only other way would be by script or someone remotely entering a shutdown command. its better to adjust your grub - you will not have to keep changing it when a new kernel comes along. sudo nano /etc/default/grub change the line ...


0

Just leaving this here for others who may stumble across it and face similar issues. After scouring the apache error log I traced the issue back to the apache2.conf file, where the virtual host was not properly set up (I had missed a bracket ). Once I corrected that issue I was golden. The lesson here is to actually check your logs rather than assuming ...


0

The issue is the folder permission. Check the folder and file permissions of the application folder.As well as verify the path too.



Top 50 recent answers are included