I have a problem with smartctl Have updated from version 5.4 to the lastest version 6.4.. No change.. Same issue It works fine when running the command smartctl -H /dev/sda directly from the command line But when running the command from a cronjob its not working as it should. Here you can see the cron job settings.. Its running as
Tag: php
Cannot Get Laravel Welcome Page to Show
My server is on DigitalOcean cloud. I am using Ubuntu with Apache web server. My home computer is running Windows 7. I am using putty for terminal. Followed all of the directions on https://laracasts.com/series/laravel-5-fundamentals/episodes/1. Made it up to 8:40, where it directs you to run php -S localhost:8888 -t public. I run that, then open a web browser and tried
How to extract dd-wrt firmware image for development?
I am a beginner in dd-wrt firmware development. I have a Linksys router (Model Number E900) and download the suitable firmware for this model from dd-wrt website to customize this firmware web pages for some personal requirements. I know dd-wrt is allow to open source development. I using firmware mod kit for rebuild the firmware. But a problem when I
Run Krpano From PHP in Linux
I am creating a PHP web app to run on Linux where user can upload their spherical image and my script will turn it into VR image . I have created one but it runs on Windows and have no clue on how to port it to Linux. I have downloaded Krpano for Linux from its official site and successfully
ubuntu nginx on local machine. Fatal error: Call to undefined function odbc_connect()
I installed nginx, php (php5-cli php5-common php5-mysql php5-fpm php-pear php5-cgi php5-odbc php5-curl), odbc on my local PC with Ubuntu. And it worked correct until (I guess) I restarted the system. Now I’m getting Fatal error: Call to undefined function odbc_connect() My config: What I found about ODBC in phpinfo(): PDO drivers mysql, odbc ODBC driver for PDO Wez Furlong ODBC
How to interact between webpage and an actual program
What I have: A program (c++) on a server (linux) The program can be executed with command line parameters The program finishes after a while and produces continously output (“log.txt”) What I want: My idea is to have some kind of user interaction with that program: The user opens a website which shows some inputs (checkboxes, etc.) After submitting (POST)
PHP is_writable() function always returns false for a writable directory
I’m trying to install a PHP-based software package in a Red Hat 7 Amazon EC2 instance (ami-8cff51fb) that has had Apache 2.4.6 and PHP 5.4.16 installed on it using yum. The installation fails because it says a particular directory needs to be writable by the webserver with 0755 or 0775 permissions. The directory in question has 0775 permissions with root:apache
php using exec with screen
I have a need to start three processes through my PHP script. Those processes live in the /home/user/server directory, named server-one, server-two and server-three. The process are also capable of accepting commands through their consoles, so I would need them to live in their own screen with a name so I can use -X stuff to give them commands. As
laravel 4.2 liebig package work on localhost but fail in server cron job command
i want to fire some function to get news about football from rss i used laravel4.2 https://github.com/liebig/cron as that it work correctly when i use cmd php artisan cron:run in my computer but when use the server cron job command /usr/bin/php /home/public_html/interestoo.com/artisan cron:run i don’t find any change in cron_job table but find data in cron_manager table and the cron
Open Linux terminal command in PHP
I have a server running on Linux that execute commands to 12 nodes (12 computers with Linux running in them). I recently downloaded PHP on the server to create web pages that can execute commands by opening a specific PHP file. I used exec(), passthru(), shell_​exec(), and system(). system() is the only one that returns a part of my code.