Technology Insights

How To Show The uptime On A Cisco Catalyst 2950

While working on the computer shop network I had to modify the configuration on our switch which is a Cisco Catalyst 2950. After making a bunch of changes I was testing things to make sure all was working as expected however after taking a break and logging back into the 2950 it appeared that all of the changes made had been reverted. I was assuming the Catalyst 2950 had lost power briefly which means all of the changes were lost since they had not been saved to the startup config yet. To verify my assumption I needed to look at the amount of time the switch had been up however “uptime” is not a valid iOS command. Below is information on the command used to verify uptime on a Cisco Catalyst 2950.

Technology Insights

Verify PHP Compiled With curl And libcurl Support On A CentOS Linux Server

Every now and then you will probably install an application that has a certain amount of prerequisites that you should verify on your server before beginning installation. Today I needed to verify that PHP was compiled with curl and/or libcurl support to install an application on a CentOS Linux server. I also needed to verify that PHP safe_mode was set to off and PHP register_globals was also set to off. The easiest way to verify PHP settings is to create a temporary PHP file that calls the phpinfo function and displays the results on a web page. Use the information below to verify that PHP is compiled with curl support on CentOS Linux or any other Linux server.